package org.pupil.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 注册中心属性
 * @Author: pupil
 * @Date: 2024/07/20 下午 6:11
 */
@Component
@ConfigurationProperties(prefix = "rpc.registry")
public class RegistryProperties {

    private String name;

    private String host;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
